package org.spring.springboot.app.community.structureic.dao;

import org.apache.ibatis.annotations.Param;
import org.spring.springboot.app.community.structureic.domain.po.HardIcPO;
import org.spring.springboot.app.community.structureic.domain.vo.HardPositionVO;
import org.spring.springboot.app.sys.dict.domain.po.SysDictPO;

import java.util.List;
import java.util.Map;

public interface HardIcDao {
    int insert(HardIcPO record);

    int insertSelective(HardIcPO record);

    List<HardIcPO> findPage(@Param("pageNum") int pageNum, @Param("pageSize") int pageSize, String infoId,String hardEquiId);

    List<HardPositionVO> findPageById(@Param("pageNum") int pageNum, @Param("pageSize") int pageSize,String structureId,String hardEquiId);

    List<HardPositionVO> findBinding(String hardEquiId,String info_id);

    int deleteHardIC(String infoId,String hardEquiId);

    int deleteRelateIC(String structureId,String hardEquiId);

    int deleteAllRelateIC(String structureId,String hardEquiId);

    int deleteByStructureId(String id);

    int excuteSql(String sql);

    int copyDate(Map<String,Object> map);

    int copyDate1(Map<String,Object> map);
}